package org.zjvis.graph.analysis.service.mapper;


import org.zjvis.graph.analysis.service.dto.GraphDTO;

import java.util.List;

public interface GraphMapper {
    boolean save(GraphDTO graph);

    boolean update(GraphDTO graph);

    GraphDTO queryById(Long id);

    void deleteById(Long id);

    List<GraphDTO> queryByProjectId(Long id);

    List<String> queryNamesByProjectId(Long id);

    Long queryUserById(Long id);

    Long queryProjectById(Long id);

    List<GraphDTO> queryByProjectIdFull(Long id);

    String checkVersion();
}
